home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
mui
/
bcc_src.lha
/
Parser
/
ClassDef.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-15
|
384b
|
25 lines
#include "ClassDef.h"
#include "Family.h"
#include "MethodDef.h"
#include "Global.h"
unsigned long ClassDef::GetTagVal( void )
{
if( TagVal ) return TagVal;
if( Prefs.tagbase ) {
TagVal = CalcTV();
TagVal ^= TagVal << 8;
TagVal &= 0xff00;
TagVal |= ((unsigned long)Prefs.tagbase)<<16;
} else {
TagVal = CalcTV() << 16;
TagVal |= 0x80000000;
}
return TagVal;
}